<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
<head>
<title><!--遗留物品领取--></title>
<meta charset="utf-8">
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <link rel="stylesheet" href="css/project/ui-res-v3.css">
    <link rel="stylesheet" href="css/project/ui-input-v3.css">
    <link rel="stylesheet" href="css/project/ui-color-v3.css">
	<link rel="stylesheet" href="css/project/style.css">
    <link rel="stylesheet" href="css/ui-base.css">
    <link rel="stylesheet" href="css/ui-box.css">
	<link rel="stylesheet" href="css/zv_common.css">
    <script src="js/zy_control.js"></script>
    <script src="js/zy_click.js"></script>
	<script src="js/zy_json.js"></script>
	<script src="js/main.js"></script>
	<script src="js/init.js"></script>
	<script src="js/talkingdata.js"></script>
	<style>
		*{ font-weight:normal;}
	</style>
</head>
<body class="um-vp c-wh" ontouchstart>
<div class="ub ub-ver">
    <div class='ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb '>
       <div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.13em;"><span style="color:red">*</span>领取人姓</span>名</div>
       <div class="ub ub-f1" >
         <div class="uba uinput zv_nob" style="width:100%;padding-left:0.5em;">
           <input placeholder="请输入领取人姓名" type="text"   id="fetcherName"  style="width:100%;"  value="">
         </div>
       </div>
   </div>
    <div class='ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb '>
       <div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.13em;"><span style="color:red">*</span>领取人电</span>话</div>
       <div class="ub ub-f1" >
         <div class="uba uinput zv_nob" style="width:100%;padding-left:0.5em;">
           <input placeholder="请输入领取人电话" type="text"   id="fetcherNumber"  style="width:100%;"  value="">
         </div>
       </div>
   </div>
   
   <div class=" c-wh">
            <div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">
                <div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.7em;">证件类</span>型</div>
                <div class="ub-f1 ub uba  b-gra  sel noboder">
                    <div class="ub-f1 ut-s uinn tx-l t-gra ulh-sel" style=" font-weight:normal; padding-left:0.5em;">证件类型</div>
                    <div class="b-gra  umw2 ub ub-pc ub-ac">
                        <div class="ub-img umw1 umh1 res3"></div>
                    </div>
                 <select name="idType" selectedindex="0" id="fetcherCardType" onchange="zy_selectmenu(this.id)" >
                    <option value="">证件类型</option>
                        <option value="身份证">身份证</option>
                        <option value="护照">护照</option>
                        <option value="其他">其他</option>
                 </select>
                </div>
            </div>
       	</div>
        <div class='ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb '>
            <div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.7em;">证件号</span>码</div>
                <div class="ub ub-f1" >
                    <div class="uba uinput zv_nob" style="width:100%;padding-left:0.5em;">
                        <input placeholder="请输入证件号码" type="text"   id="fetcherCardNumber"  style="width:100%;"  value="">
                    </div>
                </div>
        </div>
        
        <div class='ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb ' >
            <div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.3em;">预领取日</span>期</div>
            <div class="ub ub-f umar-l"  style=" font-weight:normal;padding-left:0.4em;">
            <div class="uba uinput zv_nob ulev0 t-gra zv_fontno" id="preFetchDate" style="width:100%; line-height:1.7em" onclick="checked_day('preFetchDate')">请选择预领取日期</div>
            </div>
        </div>
        <div class='ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb ' >
            <div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.7em;">领取日</span>期</div>
            <div class="ub ub-f umar-l"  style=" font-weight:normal;padding-left:0.4em;">
            <div class="uba uinput zv_nob ulev0 t-gra zv_fontno" id="fetchDate" style="width:100%; line-height:1.7em" onclick="checked_day('fetchDate')">请选择领取日期</div>
            </div>
        </div>
        <div class='ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb '>
            <div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.01em;">被委托人姓</span>名</div>
                <div class="ub ub-f1" >
                    <div class="uba uinput zv_nob" style="width:100%;padding-left:0.5em;">
                        <input placeholder="请输入被委托人姓名" type="text"   id="mandatoryName"  style="width:100%;"  value="">
                    </div>
                </div>
        </div>
        <div class='ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb '>
            <div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.01em;">被委托人电</span>话</div>
                <div class="ub ub-f1" >
                    <div class="uba uinput zv_nob" style="width:100%;padding-left:0.5em;">
                        <input placeholder="请输入被委托人电话" type="text"   id="mandatoryNumber"  style="width:100%;"  value="">
                    </div>
                </div>
        </div>
        
        
          <div class=" c-wh">
            <div class="ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb">
                <div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0em;">被委托人证件类</span>型</div>
                <div class="ub-f1 ub uba  b-gra  sel noboder">
                    <div class="ub-f1 ut-s uinn tx-l t-gra ulh-sel" style=" font-weight:normal; padding-left:0.5em;">被委托人证件类型</div>
                    <div class="b-gra  umw2 ub ub-pc ub-ac">
                        <div class="ub-img umw1 umh1 res3"></div>
                    </div>
                 <select name="idType1" selectedindex="0" id="mandatoryCardType" onchange="zy_selectmenu(this.id)" >
                    <option value="">证件类型</option>
                        <option value="身份证">身份证</option>
                        <option value="护照">护照</option>
                        <option value="其他">其他</option>
                 </select>
                </div>
            </div>
       	</div>
        <div class='ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb '>
            <div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:0.7em;">证件号</span>码</div>
                <div class="ub ub-f1" >
                    <div class="uba uinput zv_nob" style="width:100%;padding-left:0.5em;">
                        <input placeholder="请输入证件号码" type="text"   id="mandatoryCardNumber"  style="width:100%;"  value="">
                    </div>
                </div>
        </div>
        <div class='ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb '>
            <div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:1.6em;">经办</span>人</div>
                <div class="ub ub-f1" >
                    <div class="uba uinput zv_nob" style="width:100%;padding-left:0.5em;">
                        <input placeholder="请输入经办人" type="text"   id="Sender1"  style="width:100%;"  value="">
                    </div>
                </div>
        </div>
        <div class='ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb '>
            <div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:4.3em;">备</span>注</div>
                <div class="ub ub-f1" >
                    <div class="uba uinput zv_nob" style="width:100%;padding-left:0.5em;">
                        <input placeholder="请输入备注" type="text"   id="remarks"  style="width:100%;"  value="">
                    </div>
                </div>
        </div>
        <div class='ub umh4 uinn ubb b-gra5 c-wh ub-ac zv_fontb zv_bb '>
            <div class="ulev0 umw6  t-gra tx-r"><span style="letter-spacing:1.6em;">提交</span>人</div>
                <div class="ub ub-f1" >
                    <div class="uba uinput zv_nob" style="width:100%;padding-left:0.5em;">
                        <input placeholder="请输入提交人" type="text"   id="renderName"  style="width:100%;"  value="">
                    </div>
                </div>
        </div>
       <div ontouchstart="zy_touch('zv-btn-act')" class="zvbtn  c-blu1  t-wh tx-c uc-a1 zvbtnpadding"   onclick="SubDate()" >提　交</div>
       <div style="height:0.5em;"></div>
       
   
</div>  
</body>
<script>
zy_init();
window.uexOnload=function(type){
	if(!type){
		uexWindow.setBounce("0");
		IC.talkingDataCount("遗留物品录入查询","0017");
		//Loading(0);
	}
}
document.getElementById("preFetchDate").innerHTML=getNowFormatDate()
document.getElementById("fetchDate").innerHTML=getNowFormatDate()
function SubDate(){
	IC.talkingDataCount("遗留物品录入查询","0017");
	var fetcherName 			 		= $$("fetcherName").value; /*领取人姓名*/
	var fetcherNumber 				= $$("fetcherNumber").value; /*领取人电话*/
	var fetcherCardType 	 		= $$("fetcherCardType").value; /*证件类型*/
	var fetcherCardNumber		= $$("fetcherCardNumber").value; /*证件号码*/
	var preFetchDate 			 		= $$("preFetchDate").innerHTML /*预领取日期*/
	var fetchDate 				 		= $$("fetchDate").innerHTML /*领取日期*/
	var mandatoryName 	 		= $$("mandatoryName").value; /*被委托人姓名*/
	var mandatoryNumber  		= $$("mandatoryNumber").value; /*被委托人电话*/
	var mandatoryCardType		= $$("mandatoryCardType").value; /*被委托人证件类型*/
	var mandatoryCardNumber 	= $$("mandatoryCardNumber").value; /*证件号码*/
	var Sender1 							= $$("Sender1").value; /*经办人*/
	var remarks 							= $$("remarks").value; /*备注*/
	var renderName 					= $$("renderName").value; /*提交人*/
	var renderTime 					= getNowFormatDate() /*提交时间*/
	var ID=localStorage.getItem("kitsch_ID");
	if(fetcherName=='')
	{
		$alert("领取人姓名不能为空")
	}
	else if(fetcherNumber=='')
	{
		$alert("领取人电话不能为空")
	}
	else {
		Loading(0);
		var jsonPage =[{'key':'RequestKey','type':'0','value':RequestKey},{'key':'act','type':'0','value':'FetchAction'},{'key':'fetcherName','type':'0','value':fetcherName},{'key':'fetcherNumber','type':'0','value':fetcherNumber},{'key':'fetcherCardType','type':'0','value':fetcherCardType},{'key':'fetcherCardNumber','type':'0','value':fetcherCardNumber},{'key':'preFetchDate','type':'0','value':preFetchDate},{'key':'fetchDate','type':'0','value':fetchDate},{'key':'mandatoryName','type':'0','value':mandatoryName},{'key':'mandatoryNumber','type':'0','value':mandatoryNumber},{'key':'mandatoryCardType','type':'0','value':mandatoryCardType},{'key':'mandatoryCardNumber','type':'0','value':mandatoryCardNumber},{'key':'Sender1','type':'0','value':Sender1},{'key':'remarks','type':'0','value':remarks},{'key':'renderName','type':'0','value':renderName},{'key':'renderTime','type':'0','value':renderTime},{'key':'ID','type':'0','value':ID},{'key':'IP','type':'0','value':''},{'key':'renderDate','type':'0','value':''},{'key':'renderPos','type':'0','value':''},{'key':'accDptment','type':'0','value':''},{'key':'accDptmentNumber','type':'0','value':''},{'key':'destroyDate','type':'0','value':''},{'key':'destroyPos','type':'0','value':''},{'key':'sender2','type':'0','value':''},{'key':'URL','type':'0','value':kitsch_receive_url}];
		 $.getJSON(host_address_url+"ItemSoap",function(json){
		 	if(json=='true')
			{
				Loading(-1);
				//领取成功后重新把查询结果的界面刷新
				//kitsch_searchresult kitsch_searchresult.html
				
				//ueppscript("kitsch_search","content","OpenkSearch()");
				openNewWin('kitsch_receiveok','kitsch_receiveok.html');
				//$alert("领取成功")
			}
			else
			{
				$alert("领取失败")
				Loading(-1);
			}
            },"json",function(e){},"POST",jsonPage,false);
	}
}
function subloodg()
{
	IC.talkingDataCount("遗留物品录入查询","0017");
	openNewWin('kitsch_searchresult','kitsch_searchresult.html')
}	
</script>
</html>
